package com.jijuxie.house.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jijuxie.common.core.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@Data
@TableName("house_view_record")
@EqualsAndHashCode(callSuper = true)
public class HouseViewRecord extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Long recordId;

    /**
     * 房源ID
     */
    private Long houseId;

    /**
     * 经纪人ID
     */
    private Long agentId;

    /**
     * 客户ID
     */
    private Long customerId;

    /**
     * 带看时间
     */
    private LocalDateTime viewTime;

    /**
     * 带看反馈
     */
    private String feedback;

    /**
     * 状态（0待确认 1已确认）
     */
    private String status;
}
